Example tmap

By default, tmap_mode is set to "plot".

tm_shape(uk_notsimplified) + tm_polygons()

Including points and polygons

Below is a UK mainland polygon and the points on a 20km grid. Set tmap_mode("view") for interactive mode.

## tmap mode set to interactive viewing